package cn.no7player.service;

import cn.no7player.mapper.BaseMapper;
import cn.no7player.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * Created by y on 2018/12/8.
 */
@Service
public class BaseService {
    @Autowired
    private BaseMapper baseMapper;

    public Date getCurrentTime(){
        return baseMapper.getCurrentTime();
    }
}
